package com.forum.dao;

import com.forum.pojo.Message;
import com.forum.pojo.Module;
import com.forum.pojo.Evaluate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageDaoMapper {


    //添加帖子
    public int saveMessage(Message message);

    //查找帖子
    public List<Message> findMessage(Message message);

    //删除帖子
    public int deleteMessage(@Param("messageID")String messageID);

    //
    public int  updateMessage(Message message);

    public int  updateAudit(Message message);
    //
    public List<Evaluate> findEvaluate(@Param("messageID")String messageID);

    //查找
    public List<Module> Allmodule();


}
